<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css">
    <link rel="stylesheet" href="../static/css/me.css">
</head>
<body>
<!-- 导航-->
<nav class="ui inverted attached segment m-padded-tb-mini m-container-shadow-small">
    <div class="ui container">
        <div class="ui inverted secondary stackable menu">
            <h2 class="ui blue header item">后台管理</h2>
            <a href="#" class="ui active item nav-item">
                <i class="ui home icon"></i>博客
            </a>
            <a href="#" class="ui item nav-item">
                <i class="ui idea icon"></i>分类
            </a>
            <a href="#" class="ui item nav-item">
                <i class="ui tags icon"></i>标签
            </a>
            <div class="right m-item m-mobile-hide menu">
                <div class="ui dropdown item">
                    <div class="text">
                        <div class="right m-item nav-item">
                            <img class="ui avatar image m-image" src="../static/images/detail.jpg">
                            豆芽菜
                        </div>
                    </div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <a href="#" class="ui center aligned item">注销</a>
                    </div>
                </div>
            </div>

        </div>
    </div>
</nav>

<!-- 二级 -->
<div class="ui attached menu pointing">
    <div class="ui container">
        <div class="right menu">
            <a href="#" class="item">发布</a>
            <a href="#" class="blue active item">列表</a>
        </div>

    </div>

</div>

<!-- 内容 -->
<div class="ui attached segment">
    <div class="ui container">
        <!-- search -->
        <form action="#" class="ui form segment" method="post">
            <div class="inline fields">
                <div class="ui three wide field m-margin-field">
                    <input type="text" class="ui input" name="title" placeholder="title">
                </div>
                <div class="ui three wide field m-margin-field">
                    <div class="ui selection dropdown">
                        <input type="hidden" name="type">
                        <i class="dropdown icon"></i>
                        <div class="default text">type</div>
                        <div class="menu">
                            <div class="item" data-value="1">Java</div>
                            <div class="item" data-value="0">PHP</div>
                        </div>
                    </div>
                </div>
                <div class="ui field m-margin-filed-large">
                    <div class="ui checkbox">
                        <input type="checkbox" name="recommend">
                        <label>推荐</label>
                    </div>
                </div>
                <div class="ui three wide field m-margin-filed-large">
                    <button class="ui basic blue button mini">
                        <i class="ui search icon"></i>搜索
                    </button>
                </div>
            </div>
        </form>

        <!-- table-->
        <table class="ui table" style="text-align: center">
            <thead>
            <tr>
                <th>标题</th>
                <th>类型</th>
                <th>更新时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>Cell</td>
                <td>Cell</td>
                <td>Cell</td>
                <td>
                    <a href="#" class="ui mini blue button">编辑</a>
                    <a href="#" class="ui mini red button">删除</a>
                </td>
            </tr>
            <tr>
                <td>Cell</td>
                <td>Cell</td>
                <td>Cell</td>
                <td>
                    <a href="#" class="ui mini blue button">编辑</a>
                    <a href="#" class="ui mini red button">删除</a>
                </td>
            </tr>
            <tr>
                <td>Cell</td>
                <td>Cell</td>
                <td>Cell</td>
                <td>
                    <a href="#" class="ui mini blue button">编辑</a>
                    <a href="#" class="ui mini red button">删除</a>
                </td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
                <th colspan="6">
                    <div class="ui left floated pagination menu mini">
                        <a href="#" class="ui item">上一页</a>
                        <a href="#" class="ui item">下一页</a>
                    </div>
                    <a href="#" class="ui orange basic button right floated">新增</a>
                </th>
            </tr>
            </tfoot>
        </table>

    </div>
</div>

</body>
</html>
<script src="../static/js/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js"></script>
<script type="text/javascript">
    $('.ui.dropdown').dropdown({
        on: 'click'
    })
</script>